home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / printing / ascto1st.arc / CONVERT.DOC next >
Text File  |  1987-10-28  |  2KB  |  45 lines

  1. CONVERT.ARC
  2. -----------
  3. Size: 5888 bytes
  4. Date: 10/27/87
  5. Uploaded by Sylvain Gagnon
  6. Number of times accessed: 0
  7. Keyword: ASCII to First Word Converter
  8. Description...
  9.  
  10.      Have you ever tried to reformat a plain ASCII (text) file using First
  11.      Word or First Word Plus? If you had, you know it is almost
  12.      IMPOSSIBLE!
  13.       
  14.      That's because First Word uses 'soft' space to separate the words
  15.      while a explain text file contains 'hard' space. The difference is
  16.      'soft' space CAN be STRECHTED, while 'hard' space CAN'T. That means
  17.      First Word WON'T be able to had more spaces at between words of a
  18.      plain text file to make it right justified. Also, First Word knows if
  19.      the line is part of a paragraph if it has a 'soft' space at its end.
  20.      Therefore, such a line can be truncated to fit if too long. Now you
  21.      can see all the trouble involved in converting a text file to First
  22.      Word 'by hand'. There is where CONVERT.PRG comes into play...
  23.            
  24.      CONVERT.PRG takes any (well almost, I'll explain later) text file
  25.      (can't be a First Word file) and converts it to a First Word file.
  26.      Spaces are converted to soft space and space at the beginning of a
  27.      line (if any), are converted in INDENT. Tabs are also converted in
  28.      soft space, but the amount of soft space for each tab is determined
  29.      at the begining (either 4, 5 (default) or 8). The 'header' line is
  30.      also modified to have the tab set right.
  31.       
  32.      Now the limitation... Because CONVERT uses a 'blank line' to tell the
  33.      end of paragraph, if paragraphes are just separated by indents, it
  34.      will think they are (the lines) part of one BIG paragraph. That is
  35.      not really important, you just have to delete the space added at the
  36.      end of each paragraph yourself BEFORE reformating. The other
  37.      limitation (well, not really a limitation) is because the program ue
  38.      same filename as the one you specified, but replace the extension
  39.      with ..DOC' extension (you won't fool it).
  40.       
  41.      I use that program to convel to First Word so I could edit them
  42.      before printing them on the VAX pgonquin) and they REALLY look nice
  43.      (with appendices, headers, page numbe contents!).
  44.       
  45.